Smush\Core\Configs C

Total Complexity 111
Dependencies 7
Dependents 4
Total lines 760
Lines of code 459
Logical lines of code 220
Comment lines 190
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
apply_config()
B
42 16 49
format_config_to_display()
A
43 13 49
decode_and_validate_config_file()
A
46 13 35
sanitize_config()
A
41 8 67
get_config_from_current()
A
46 9 40
get_lazy_load_settings_to_display()
A
46 9 38
sanitize_configs_list()
A
51 9 26
get_settings_display_value()
S
52 6 24
get_webp_settings_display_value()
S
52 5 26
apply_config_by_id()
S
59 4 14
format_boolean_setting_value()
S
68 4 6
get_basic_config()
S
47 1 39
get_networkwide_settings_to_display()
S
68 3 6
get_callback()
S
67 2 8
save_uploaded_config()
S
69 2 7
permission_callback()
S
75 2 4
post_callback()
S
64 2 9
__construct()
S
80 1 3
format_config_description()
S
79 1 3
sanitize_and_format_configs()
S
71 1 6